package com.fishery.customization.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.util.List;

@ApiModel(value = "拖拽标签")
@Document(value = "c_drag_label")
public class DragLabel {

	@Id
	@ApiModelProperty(value = "id", hidden = true)
	private String id;

	@Field(value = "user_id")
	@ApiModelProperty(value = "用户id")
	private String userId;

	@Field(value = "labels_sequence")
	@ApiModelProperty(value = "标签顺序")
	private List<LabelSequence> labelsSequence;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public List<LabelSequence> getLabelsSequence() {
		return labelsSequence;
	}

	public void setLabelsSequence(List<LabelSequence> labelsSequence) {
		this.labelsSequence = labelsSequence;
	}
}
